package excercise;

public class EX05_038_Book {
	
	private String title;
	private int allpage;
	private String writer;
	
	public EX05_038_Book() {
		title = null;
		allpage = 0;
		writer = null;
	}
	public EX05_038_Book(String title, int allpage, String writer) {
		this.title = title;
		this.allpage = allpage;
		this.writer = writer;
	}
	
	public void setTitle(String title) { this.title = title; }
	public void setAllpage(int allpage) { this.allpage = allpage; }
	public void setWriter(String writer) { this.writer = writer; }
	public String getTitle() { return title; }
	public int getAllpage() { return allpage; }
	public String getWriter() { return writer; }
	
	@Override
	public boolean equals(Object obj) {
		return super.equals(obj);
	}
}